import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import abc from '../views/abc.vue'
import test from '../views/test.vue'
import jiqixuexi from '../views/jiqixuexi.vue'
import AI from '../views/AI.vue'
import ruanjiankaifa from '../views/ruanjiankaifa.vue'
import jiqiecharts from '../views/jiqiecharts.vue'
import AIcharts from '../views/AIcharts.vue'
import ruanjianecharts from '../views/ruanjianecharts.vue'
import jiqixuexiform from '../views/jiqixuexiform.vue'
import AIform from '../views/AIform.vue'
import ruanjianform from '../views/ruanjianform.vue'

Vue.use(VueRouter)

const routes = [
    // {
    //   path: '/',
    //   name: 'home',
    //   component: HomeView
    // },
     {
        path: '/jiqixuexiform',
        name: 'jiqixuexiform',
        component: jiqixuexiform
    },
         {
        path: '/AIform',
        name: 'AIform',
        component: AIform
    },
          {
        path: '/ruanjianform',
        name: 'ruanjianform',
        component: ruanjianform
    },
    {
        path: '/jiqiecharts',
        name: 'jiqiecharts',
        component: jiqiecharts
    },
        {
        path: '/AIcharts',
        name: 'AIcharts',
        component: AIcharts
    },
        {
        path: '/ruanjianecharts',
        name: 'ruanjianecharts',
        component: ruanjianecharts
    },
    {
        path: '/jiqixuexi',
        name: 'jiqixuexi',
        component: jiqixuexi
    },
    {
        path: '/AI',
        name: 'AI',
        component: AI
    },
        {
        path: '/ruanjiankaifa',
        name: 'ruanjiankaifa',
        component: ruanjiankaifa
    },
    {
        path: '/abc',
        name: 'abc',
        component: abc
    },
    {
        path: '/test',
        name: 'test',
        component: test
    },
    {
        path: '/about',
        name: 'about',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
    }
]

const router = new VueRouter({
    routes
})

export default router
